package com.lei.datastructure.collection.map;

/**
 * @Author LeiXiaoLei
 * @Date 2022/8/17 20:00
 * @Version 1.0
 */
public interface Map<K, V> {

    void add(K key, V value);

    V remove(K key);

    boolean contains(K key);

    V get(K key);

    void set(K key, V newValue);

    int getSize();

    boolean isEmpty();
}
